package com.itheima.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.domain.Setmeal;
import com.itheima.domain.SetmealDTO;

import java.util.List;

/**
 * @Author: psh
 * @Desc: 套餐模块-业务接口
 * @Date: 2022-06-06 10:15:50
 */
public interface SetmealService {


	Page<Setmeal> page(Integer page, Integer pageSize, String name);

	void updateStatusByIds(Integer status, Long[] ids);

	List<Setmeal> list(Long categoryId, Integer status);

	int save(SetmealDTO setmealDTO);

	SetmealDTO findById(Long id);

	int update(SetmealDTO setmealDTO);


	int deleteByIds(Long[] ids);

}
